<?php
/**
 * @package		Joomla.Site for Joomla 2.5
 * @subpackage	mod_articles_subcategories
 * @author      Proweb Solutionz
 * @copyright	Copyright (C)  2012  prowebsolutionz.com. All rights reserved.
 * @license		GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html; 
 */

// no direct access
defined('_JEXEC') or die;

// Include the helper functions only once
require_once dirname(__FILE__).'/helper.php';

$list = modArticlesSubCategoriesHelper::getList($params);
$category = modArticlesSubCategoriesHelper::getCategory();
if (!empty($list)) {
	$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'));
  require JModuleHelper::getLayoutPath('mod_articles_subcategories', $params->get('layout', 'default'));
}
